//
//  main.cpp
//  cobalt
//
//  Created by Nicolas Godbout on 2013-08-19.
//  Copyright (c) 2013 Nicolas Godbout. All rights reserved.
//

#include "parse_nt.h"

#include <iostream>

int main(int argc, const char * argv[])
{
    Environment env;
    ParseNT p({}, &env);
    bool flag = p.parse("<hello> <World> _:haha .\r_:b <is> \"nice\".\n");
    
    if (flag)
        printf("match");
    else
        printf("failed at line #%d", p.getLine());
    return 0;
}
